package com.oa.ylms.apps.business.archives;

import java.util.List;

import com.oa.ylms.apps.entity.archives.MajorInfoValue;

public interface IMajorInfoService {
	
	public int addMajorInfo(String majorName) throws Exception;
	
	public boolean modifyMajorInfo(int majorId, String majorName) throws Exception;
	
	public boolean deleteMajorInfo(int majorId) throws Exception;
	
	public boolean toDisable(int majorId) throws Exception;
	
	public boolean toEnable(int majorId) throws Exception;
	
	public MajorInfoValue queryByMajorId(int majorId) throws Exception;
	
	public List<MajorInfoValue> queryALLMajorInfo() throws Exception;
}
